package com.huahua.api.entity.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @author LoveHuahua
 * @date 2021年09月25日 13:11
 * @description believe in yourself
 */
@Data
@TableName(value = "api_novel_book_view_count")
public class ApiNovelBookViewCount {
    /**
     * 浏览总量id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 书籍id
     */
    @TableField(value = "book_id")
    private Integer bookId;

    /**
     * 浏览数目
     */
    @TableField(value = "view_count")
    private Integer viewCount;

    public static final String COL_ID = "id";

    public static final String COL_BOOK_ID = "book_id";

    public static final String COL_VIEW_COUNT = "view_count";
}